package com.example.hubu20250620.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data//可以自动生成get和set方法
@NoArgsConstructor//该类的无参构造方法
@AllArgsConstructor//该类的有参构造
public class User {
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    private String userName;
    private String passWord;
}
